/*
 * @Author: ziqi jhzq12345678
 * @Date: 2024-09-24 09:02:43
 * @LastEditors: ziqi jhzq12345678
 * @LastEditTime: 2024-10-18 14:25:21
 * @FilePath: /pornhub_app/lib/src/model/deduct/deduct_models.dart
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import 'package:json2dart_safe/json2dart.dart';

class DeductTypeModel {
  final String content;
  final bool status;

  DeductTypeModel.empty() : this.fromJson({});

  DeductTypeModel.fromJson(Map<String, dynamic> json)
      : content = json.asString('content'),
        status = json.asBool('status');

  static dynamic toBean(dynamic json) => DeductTypeModel.fromJson(json);
}
